package ooday05;

public class EnumeDemo {
    public static void main(String[] args) {
        Season s = Season.SUMMER;
        System.out.println(s.getSeasonName());
        Season[]seasons = Season.values();
        for (int i=0;i< seasons.length;i++){
            System.out.println(seasons[i]);
            System.out.println(seasons[i].getSeasonName());
            System.out.println(seasons[i].getSeasonDesc());
        }
    }
}
